import json

def is_json_file_empty(file_path):
    try:
        with open(file_path, 'r') as f:
            json.load(f)
        return False
    except (FileNotFoundError, json.JSONDecodeError):
        return True

def read_json_file(file_path):
    try:
        with open(file_path, 'r') as f:
            data = json.load(f)
        return data
    except (FileNotFoundError, json.JSONDecodeError) as e:
        print(f"Error reading JSON file: {e}")
        return None